package com.fyh.feign;

import com.fyh.entity.common.Result;
import com.fyh.feign.fallback.UserJobFeignClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
import java.util.Map;

@FeignClient(value = "service-job", fallback = UserJobFeignClientFallback.class)
public interface UserJobFeignClient {
    @GetMapping("/job/tagList")
    Result<Map<String, List<String>>> getTagList();
}
